package com.zsrd.lessons.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zsrd.lessons.domain.TsQuestionBank;
import com.zsrd.lessons.domain.vo.TsQuestionBankVo;

import java.util.List;

/**
 * <p>
 * 题库表 服务类
 * </p>
 *
 * @author Chen Wei
 * @since 2022-07-11
 */
public interface TsQuestionBankService extends IService<TsQuestionBank> {

    IPage<TsQuestionBankVo> getQuestionBankList(String orgNo, String loginId, Long current, Long size);

    void addQuestionBank(String orgNo, String title);

    void updateQuestionBank(Long id, String orgNo, String title);

    void deleteQuestionBank(Long id);

    List<TsQuestionBank> getQuestionBankAllList(String orgNo);

}
